package com.group4.blockchain.pojo;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
//user entity
public class User implements Serializable {

   private static final long serialVersionUID = 1L;

   @TableId(value = "user_id")
   private String id;

   private String username;

   private String password;

   private String location;
   //0是buyer，1是seller
   private Integer role;
   //0是未实名，1是已经实名
   private Integer isReal;

   private Integer status;

   private String created;


}